﻿//-------------------------------------------------------------------------------------------
// <copyright file="DataSet.cs" company="Russell Wilkins">
//     Copyright (c) Russell Wilkins 2014. All Rights Reserved.
// </copyright>
// <author>Russell Wilkins</author>
// <license href="license.txt">
//     The use of this software is governed by the Microsoft Public License
//     which is included with this distribution.
// </license>
//-------------------------------------------------------------------------------------------
namespace Ripple.Data
{
    /// <summary>
    /// Base class for data sets.
    /// </summary>
    public abstract class DataSet
    {
        protected int MaxItems = 500;  // TODO: Makes this configurable.

        /// <summary>
        /// Initializes a new instance of the DataSet class.
        /// </summary>
        internal DataSet(IRippleContext context)
        {
            this.Context = context;
        }

        protected IRippleContext Context { get; private set; }
    }
}